package com.gitee.feizns.quickstart.dict;

/**
 * dict 存储管理器
 * @author feizns
 * @since 2024/12/8
 */
public abstract class AbstractDictDepositor<T extends Entry> implements DictDepositor<T> {

    /**
     * 代理
     */
    protected final DictDepositor<T> delegate;

    /**
     * 抽象字典 Depositor
     */
    public AbstractDictDepositor() {
        this(new NothingToDoDictDepositor<>());
    }

    public AbstractDictDepositor(DictDepositor<T> depositor) {
        this.delegate = depositor;
    }

}
